package com.mycompany.client;

import com.google.gwt.user.client.rpc.*;

public class Person implements IsSerializable
{
	private String name;
	private String email;
	private int age;

	/**
	* This field is a Set that must always contain Strings.
	* 
	*
	*/
	//private java.util.List list;

	public Person()
	{
		/*list = new java.util.ArrayList();
		list.add(new Person("Mark Beckers", "mark@villevirtuelle.be", 24));
		list.add(new Person("Anneleen Embrechts", "anneleen@villevirtuelle.be", 23));*/
	}

	public Person(String name, String email, int age)
	{
		this.name = name;
		this.email = email;
		this.age = age;

		/*list = new java.util.ArrayList();
		list.add(new Integer(33333));
		list.add(new Integer(23222));
		list.add(new Integer(44556));*/
	}

	public int getAge()
	{
		return age;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public void setAge(int age)
	{
		this.age = age;
	}

	/*public java.util.List getList()
	{
		return list;
	}

	public void setList(java.util.List list)
	{
		this.list = list;
	}*/
}